Telegram Group & Telegram Channel
Задача с кодом. Собираем и разбираем строку

Напишите функцию, которая будет принимать строку и возвращать список подстрок из символов этой строки, собранных и разобранных посимвольно.

Пример

construct_deconstruct("the sun") ➞ [
"t",
"th",
"the",
"the ",
"the s",
"the su",
"the sun",
"the su",
"the s",
"the ",
"the",
"th",
"t"
]
# Обратите внимание на пробел

Решение на нашем сайте.

#задача #coding



tg-me.com/pythonist_ru/2458
Create:
Last Update:

Задача с кодом. Собираем и разбираем строку

Напишите функцию, которая будет принимать строку и возвращать список подстрок из символов этой строки, собранных и разобранных посимвольно.

Пример

construct_deconstruct("the sun") ➞ [
"t",
"th",
"the",
"the ",
"the s",
"the su",
"the sun",
"the su",
"the s",
"the ",
"the",
"th",
"t"
]
# Обратите внимание на пробел

Решение на нашем сайте.

#задача #coding

BY Pythonist.ru - образование по питону


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonist_ru/2458

View MORE
Open in Telegram


Pythonist ru образование по питону Telegram | DID YOU KNOW?

Date: |

At a time when the Indian stock market is peaking and has rallied immensely compared to global markets, there are companies that have not performed in the last 10 years. These are definitely a minor portion of the market considering there are hundreds of stocks that have turned multibagger since 2020. What went wrong with these stocks? Reasons vary from corporate governance, sectoral weakness, company specific and so on. But the more important question is, are these stocks worth buying?

China’s stock markets are some of the largest in the world, with total market capitalization reaching RMB 79 trillion (US$12.2 trillion) in 2020. China’s stock markets are seen as a crucial tool for driving economic growth, in particular for financing the country’s rapidly growing high-tech sectors.Although traditionally closed off to overseas investors, China’s financial markets have gradually been loosening restrictions over the past couple of decades. At the same time, reforms have sought to make it easier for Chinese companies to list on onshore stock exchanges, and new programs have been launched in attempts to lure some of China’s most coveted overseas-listed companies back to the country.

Pythonist ru образование по питону from ua


Telegram Pythonist.ru - образование по питону
FROM USA